package com.wq.store;

import com.wuyunbin.merchant.entity.Store;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient(name = "robot-store-service",
        contextId = "robot-store-service"
)
public interface StoreClient {
    @PostMapping("storeApi")
    boolean save(Store store);

}
